<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>补考勤记录</title>
<c:import url="/WEB-INF/jsp/head.jsp" />
<c:import url="/WEB-INF/jsp/plugin/datetimepicker.jsp" />
<c:import url="/WEB-INF/jsp/plugin/bootstrap-table.jsp" />
<c:import url="/WEB-INF/jsp/plugin/loading.jsp" />
<script type="text/javascript" src="static/js/bootbox.4.4.0.min.js"></script>
<c:import url="/WEB-INF/jsp/plugin/vue.jsp" />
<script type="text/javascript" src="static/js/attendance/remedy.js"></script>
</head>
<body>
	<div id="app" class="default-theme container-fluid iframe">
		<div class="row">
			<div class="col-md-5">
				<form class="remedy form-horizontal" action="attendance/remedy"
					method="post">
					<div class="form-group">
						<label for="tip" class="col-sm-2 control-label"></label>
						<div class="col-sm-10">
							<label name="tip" class="col-sm-10"> 补考勤记录会记录当前操作人以及当前时间
							</label>
						</div>
					</div>
					<div class="form-group">
						<label for="studentName" class="col-sm-2 control-label">学生</label>
						<div class="col-sm-10">
							<input type="text" name="studentName" class="form-control"
								readonly="readonly" placeholder="点击选择学生" data-toggle="modal"
								data-target="#studentSelect" /> <input type="hidden"
								name="studentId" readonly="readonly" />
						</div>
					</div>
					<div class="form-group">
						<label for="attDate" class="col-sm-2 control-label">考勤日期</label>
						<div class="col-sm-10">
							<input type="text" name="attDate" class="form-control"
								readonly="readonly" placeholder="点击选择考勤日期" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label"></label>
						<div class="col-sm-10">
							<button id="login-submit" type="submit"
								class="btn btn-primary col-sm-2">补考勤</button>
						</div>
					</div>
				</form>
			</div>
		</div>
		<br />
		<div class="row">
			<div class="col-md-5">
				<form class="import form-horizontal required-validate"
					action="attendance/import" method="post">
					<div class="form-group">
						<label class="col-sm-2 control-label"></label>
						<div class="col-sm-10">
							<h3>批量导入考勤记录</h3>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label"></label>
						<div class="col-sm-10">
							<a href="static/demo/attendance-demo.xlsx">点击模版下载</a>
						</div>
					</div>
					<div class="form-group">
						<label for="file" class="col-sm-2 control-label">选择文件</label>
						<div class="col-sm-10">
							<input type="text" name="file-text" class="form-control"
								readonly="readonly" placeholder="选择文件" /> <input type="file"
								name="file" style="display: none;" readonly="readonly"
								accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label"></label>
						<div class="col-sm-10">
							<button id="login-submit" type="submit"
								class="btn btn-primary col-sm-2">导入</button>
						</div>
					</div>
				</form>
			</div>
		</div>
		<div class="modal fade" id="studentSelect" tabindex="-1" role="dialog">
			<div class="modal-dialog" role="document">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal"
							aria-label="Close">
							<span aria-hidden="true">&times;</span>
						</button>
						<h4 class="modal-title">选择学生</h4>
					</div>
					<div class="modal-body form-inline" style="overflow: hidden;">
						<div class="col-md-12">
							<div class="panel panel-default">
								<div class="panel-heading">搜索条件</div>
								<div class="panel-body">
									<div class="form-group">
										<label for="student-name">姓名：</label> <input type="text"
											class="form-control" id="student-name" />
									</div>
									<button class="selectStudent btn btn-default">搜索</button>
								</div>
							</div>
						</div>
						<div class="col-md-12">
							<table id="studentForm" class="table table-hover table-border"></table>
						</div>
					</div>
					<div class="modal-footer"></div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>